package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.Permission;

import java.util.List;

public interface PermissionService {

    PageResult findPage(QueryPageBean queryPageBean);


    Result add(Permission permission);

    Result findById(Integer permissionId);

    Result updatePermission(Permission permission);

    Result deletePermission(Integer permissionId);
}
